﻿<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="eSilky._Default" %>

<%@ Register Src="Admin/Usercontrols/uctlGroupManagement.ascx" TagName="uctlGroupManagement"
    TagPrefix="uc1" %>
<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
 <div style="padding:5% 20% 10% 5%;">
    <asp:DataList ID="dtlstProducts" runat="server" RepeatColumns="2" RepeatDirection="Horizontal"
        Width="202px" BorderColor="White" BorderStyle="Dashed" GridLines="Horizontal"
        ShowFooter="False" ShowHeader="False" Height="89%">
        <ItemTemplate>
            <table style="width: 237px">
                <tr>
                    <td colspan="2" rowspan="3" valign="top" style="width: 78px">
                        <a href="#">
                            <img src="../Images/Products/Thumbnail/<%#Eval("pdt_image")%>" border="0" width="75" height="125" /></a>
                    </td>
                    <td colspan="2" rowspan="3" valign="top" class="font1" style="width: 194px">
                        <b>&nbsp;<%#Eval("pdt_code")%></b><br /><br /><div style="text-indent: 0pt; text-align: left; text-justify: inter-word;">
                            <%#Eval("pdt_name")%></div>
                    </td>
                </tr>
            </table>
        </ItemTemplate>
    </asp:DataList>

     <asp:AccessDataSource ID="AccessDataSource1" runat="server" 
         DataFile="~/App_Data/eSilky.mdb" 
         SelectCommand="SELECT [pdt_code], [pdt_name], [pdt_description], [pdt_image] FROM [esilky_product]">
     </asp:AccessDataSource>

    <table width="50%">
        <td align="left" style="width: 624px" class="font1">
            <asp:Label ID="lblRecordCount" runat="server" Visible="False"></asp:Label><asp:Label
                ID="lblCurrentIndex" runat="server" Text="0" Visible="False"></asp:Label><asp:Label
                    ID="lblPageSize" runat="server" Text="6" Visible="False"></asp:Label>
            <asp:Label ID="lblCounts" runat="server" CssClass="plaintable"></asp:Label>
        </td>
        <td style="width: 35px">
            <a href="gallery.aspx#BookMark" id="First"  runat="server">
                <img border="0" src="Images/Common/firstpage.gif" /></a>
        </td>
        <td style="width: 35px">
            <a href="gallery.aspx#BookMark" id="Previous"  runat="server">
                <img border="0" src="Images/Common/prevpage.gif" /></a>
        </td>
        <td style="width: 35px">
            <a href="gallery.aspx#BookMark" id="Next"  runat="server">
                <img border="0" src="Images/Common/nextpage.gif" /></a>
        </td>
        <td style="width: 35px">
            <a href="gallery.aspx#BookMark" id="Last"  runat="server">
                <img border="0" src="Images/Common/lastpage.gif" /></a>
        </td>
    </table>
    </div>
</asp:Content>
